package mypackage;

import org.testng.annotations.Test;

///import org.junit.Test;

public class Smipleclass {
  @Test	
  public void myfunc() throws Exception {
		
		int nazrul;
		int murad;
		int difference;
		nazrul = 40;
		murad = 40;
		difference = (nazrul - murad);
		
		if (difference > 0)
		{callfunction("Assalamualikum Nazrul Vhi");}
		else
		{callfunction("Walaikuasslam Nazrul Vhi");}
		
		callfunction("so, Nazrul bhai is elder than murad by " + difference + " years of age");
  }
		
		@Test
		public void myfunc2() throws Exception {
		
			int difference;
			int Mizan = 40;
			int Riyad = 80;
			difference = (Riyad - Mizan );
			
			if (difference > 0)
			{callfunction("Assalamualikum Nazrul Vhi");}
			else
			{callfunction("Walaikuasslam Nazrul Vhi");}
			
			callfunction("so, Riyad bhai is elder than Mizan by " + difference + " years of age");


      }
  public void callfunction(String mytext) throws Exception{
	  System.out.println(mytext);

	  
	  
  }
}
